import Vue from 'vue'
import VueRouter from 'vue-router'
import HelloWorld from '@/components/HelloWorld.vue'
import fuwuVue from '@/views/database/fuwu/fuwuVue.vue'
import gaikuangVue from '@/views/database/gaikuang/gaikuangVue.vue'
import jmageVue from '@/views/database/jmage/jmageVue.vue'
import jmbiaoqianVue from '@/views/database/jmbiaoqian/jmbiaoqianVue.vue'
import jmjiankangVue from '@/views/database/jmjiankang/jmjiankangVue.vue'
import jmxingbieVue from '@/views/database/jmxingbie/jmxingbieVue.vue'
import jmxueliVue from '@/views/database/jmxueli/jmxueliVue.vue'  
import qianyueVue from '@/views/database/qianyue/qianyueVue.vue'
import juminVue from '@/views/jumin/juminVue.vue'
import loginPage from '@/views/login/loginPage.vue'
import messageVue from '@/views/message/messageVue.vue'
import qjiluVue from '@/views/qianyue/jilu/qjiluVue.vue'
import daichuliVue from '@/views/serve/daichuli/daichuliVue.vue'
import jiluVue from '@/views/serve/jilu/jiluVue.vue'
import biaoqianVue from '@/views/xitong/biaoqian/biaoqianVue.vue'
import gonggaoVue from '@/views/xitong/gonggao/gonggaoVue.vue'
import jiaoseVue from '@/views/xitong/jiaose/jiaoseVue.vue'
import logsVue from '@/views/xitong/logs/logsVue.vue'
import lunbotuVue from '@/views/xitong/lunbotu/lunbotuVue.vue'
import xieyiVue from '@/views/xitong/xieyi/xieyiVue.vue'
import yaopinVue from '@/views/xitong/yaopin/yaopinVue.vue'
import zixunVue from '@/views/xitong/zixun/zixunVue.vue'
import fubaoVue from '@/views/ziliao/fuwubao/fubaoVue.vue'
import fuwuxiangmuVue from '@/views/ziliao/fuwuxiangmu/fuwuxiangmuVue.vue'
import jigouVue from '@/views/ziliao/jigou/jigouVue.vue'
import tuanduiVue from '@/views/ziliao/tuandui/tuanduiVue.vue'
import yejiVue from '@/views/ziliao/yeji/yejiVue.vue'
import yishengVue from '@/views/ziliao/yisheng/yishengVue.vue'
import pendingSigning from "@/views/qianyue/daichuli/PendingSigning.vue";
import detailedSigning from "@/views/qianyue/daichuli/DetailedSigning.vue";
import editContractInformation from "@/views/qianyue/daichuli/EditContractInformation.vue";
import addAndDelete from "@/views/xitong/gonggao/addAndDelete.vue";
import updateVue from "@/views/xitong/gonggao/updateVue.vue";
Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    component: HelloWorld
  },

  {
    path: '/database/fuwu',
    component: fuwuVue
  },
  
  {
    path: '/database/gaikuang',
    component: gaikuangVue
  },
  
  {
    path: '/database/jmage',
    component: jmageVue
  },

  {
    path: '/database/jmbiaoqian',
    component: jmbiaoqianVue
  },
  
  {
    path: '/database/jmjiankang',
    component: jmjiankangVue
  },
  
 
  
  {
    path: '/database/jmxingbie',
    component: jmxingbieVue
  },
  
  {
    path: '/database/jmxueli',
    component: jmxueliVue
  },
  
  {
    path: '/database/qianyue',
    component: qianyueVue
  },
  
  
  {
    path: '/jumin',
    component: juminVue
  },


  {
    path: '/login',
    component: loginPage
  },

  {
    path: '/message',
    component: messageVue
  },
  {
    path: '/qianyue/daichuli',
    component: pendingSigning
  },
  {
    path: '/qianyue/daichuli/detailedSigning',
    component: detailedSigning
  },
  {
    path: '/qianyue/daichuli/editContractInformation',
    component: editContractInformation
  },
  {
    path: '/qianyue/jilu/qjilu',
    component: qjiluVue
  },
  
  {
    path: '/serve/daichuli',
    component: daichuliVue
  },

  {
    path: '/serve/jilu',
    component: jiluVue
  },

  {
    path: '/xitong/biaoqian',
    component: biaoqianVue
  },

  {
    path: '/xitong/gonggao',
    component: gonggaoVue
  },
  {
    path: '/xitong/gonggao/addAndDelete',
    component: addAndDelete
  },
  {
    path: '/xitong/gonggao/update',
    component: updateVue
  },
  {
    path: '/xitong/jiaose',
    component: jiaoseVue
  },  

  {
    path: '/xitong/logs',
    component: logsVue
  },

  {
    path: '/xitong/lunbotu',
    component: lunbotuVue
  },

  {
    path: '/xitong/xieyi',
    component: xieyiVue
  },  

  {
    path: '/xitong/yaopin',
    component: yaopinVue
  },
  
  {
    path: '/xitong/zixun',
    component: zixunVue
  },

  {
    path: '/ziliao/fuwubao',
    component: fubaoVue
  },

  {
    path: '/ziliao/fuwuxiangmu',
    component: fuwuxiangmuVue
  },

  {
    path: '/ziliao/jigou',
    component: jigouVue
  },
  
  {
    path: '/ziliao/tuandui',
    component: tuanduiVue
  },

  {
    path: '/ziliao/yeji',
    component: yejiVue
  },

  {
    path: '/ziliao/yisheng',
    component: yishengVue
  }

  
]

const router = new VueRouter({
     //history: 必须配置
     routes
})

export default router
